set(UI_DIR ./ui)
file(GLOB_RECURSE UI_SRCS ${UI_DIR}/*.c ${UI_DIR}/*.cpp) 

idf_component_register(SRCS "main.cpp" "main_app.c" "web_app.c" "ui_action.c" ${UI_SRCS}
                       INCLUDE_DIRS "." ${UI_DIR})

add_compile_definitions (LV_LVGL_H_INCLUDE_SIMPLE)